from selenium import webdriver
from selenium.webdriver.common.by import By
from time import sleep
from postion import options
from postion import service

driver=webdriver.Chrome(options=options,service=service)
driver.get(r'https://www.baidu.com/')
sleep(2)
driver.get(r'https://news.baidu.com/')
sleep(2)

driver.back()
sleep(1)
driver.forward()
sleep(1)
driver.refresh()
sleep(1)
driver.minimize_window()
sleep(1)
driver.maximize_window()
sleep(1)
driver.set_window_size(1200,800)
sleep(1)

driver.back()